/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const roomsManageRouter = {
  path: '/rooms',
  component: Layout,
  redirect: '/rooms/roomsManage',
  name: 'roomsManage',
  meta: {
    title: '客房管理',
    icon: 'system'
  },
  children: [
    {
      path: 'roomCheck',
      component: () => import('@/views/rooms/roomCheck/roomCheck.vue'),
      name: 'roomCheck',
      meta: { title: '入住登记' }
    },
    {
      path: '客房送物',
      component: () => import('@/views/rooms/roomSend/roomSend.vue'),
      name: 'roomSend',
      meta: { title: '客房服务' }
    },
    {
      path: 'rooms',
      component: () => import('@/views/rooms/rooms/rooms.vue'),
      name: 'rooms',
      meta: { title: '房间管理' }
    }
  ]
}
export default roomsManageRouter
